import {post, get} from "../utils/request";
import url from "../utils/url";

export default {
    launchActivity: activity => post(url.launchActivity(), activity),
    getYearActivityList: () => get(url.getYearActivityList()),
    getNorActivityList: () => get(url.getNorActivityList()),
    getActivityByid: id => get(url.getActivityByid(id)),
};